home *** CD-ROM | disk | FTP | other *** search
-
- Chapter 7
-
-
- Login Scripts
-
-
-
- PROTEC NET uses network login scripts to provide
- centralized network administration, installation
- and integration. The system login script contains
- PROTEC NET Script programs which maintain and
- install workstation security. Further, PROTEC NET
- provides its own login script interpreter,
- LOGIN.EXE. This program runs exactly like
- NetWare's Login program yet provides extra
- commands specific to PROTEC that allow for easy
- password management and user define shells.
-
-
-
- =====================
- PROTEC Login Programs
- =====================
-
- PROTEC NET provides its set of Login programs to
- be used as a replacement to Novell NetWare's
- LOGIN.EXE, LOGOUT.EXE and MAP.EXE programs.
- PROTEC NET supports all NetWare Login commands and
- variables. Some login commands are made to be
- PROTEC NET "aware," yet the original NetWare
- syntax is preserved.
-
- By default, PROTEC NET Login programs are copied
- to the LOGIN directory on the file server. Copies
- of NetWare's LOGIN.EXE, LOGOUT.EXE and MAP.EXE are
- created in the PROSYSTEM directory and are renamed
- as follows: NVLOGIN.EXE, NVLOGOUT.EXE and
- NVMAP.EXE, respectively. To use PROTEC Login
- programs, run NETINST.EXE only marking the check
- box labeled `Use PROTEC NET Login Programs.'
- Refer to Server Installation for instructions on
- using NETINST.EXE.
-
- ====================
- System Login Script
- ====================
-
- PROTEC NET deploys workstation security centrally
- from the server by inserting its NET Script
- programs into the selected script. These
- utilities install and update workstation security.
- The System Login Script should be modified as
- follows:
-
- SET PROPUBLIC="servername/vol:PUBLIC\\PROTEC\\"
- #servername/sys:PUBLIC\PROTEC\NAMER.EXE
- #servername/sys:PUBLIC\PROTEC\BLDTREE.EXE
- #servername/sys:PUBLIC\PROTEC\AUTONVLL.EXE
- #servername/sys:PUBLIC\PROTEC\RBP.EXE
- #servername/sys:PUBLIC\PROTEC\UPP.EXE.
-
- PROPUBLIC is set to the
- [servername/vol:]\PUBLIC\PROTEC directory on the
- server. PROPUBLIC specifies the directory where
- PROTEC NET data files are located. To modify the
- System Login Script, run NETINST.EXE on the
- appropriate file server and activate the check box
- labeled `System Script.' Refer to Server
- Installation for further instructions.
-
- ====================
- Password Management
- ====================
-
- Maintaining multiple servers, users and passwords
- may become cumbersome. To minimize management, a
- user login script may be configured so that a user
- who has different accounts on different servers
- may use only one user name and password to sign
- onto all systems. This process is referred to as
- synchronization. User names must be synonymous
- between servers before synchronization may occur.
-
- A user's login script might be set up as follows:
- ...
- SYNC TRAINING
- SYNC SALES
- SSO ON
- ATTACH TRAINING
- ATTACH SALES
-
- PROTEC NET literally synchronizes all password so
- that the password on TRAINING and SALES file
- servers are changed to the user's Primary Server
- password. Once synchronized, PROTEC NET
- automatically sends the user name and password to
- each file server to establish a connection. If a
- user changes his password on his Primary Server,
- then PROTEC NET automatically synchronizes the
- password. `SSO ON' must be specified to perform
- single sign onto multiple servers.
-
- If a user forgets his password, change the
- password on the user's Primary Server. All other
- passwords will be synchronized automatically.
-
- =====================
- Login Script Commands
- =====================
-
- Each NetWare Login Script command follows NetWare
- syntax; but have been designed to be PROTEC NET
- "aware." This section provides proper syntax but
- only describes PROTEC NET additions. To obtain
- detailed information on NetWare syntax, refer to
- the NetWare documentation.
-
- ***************************************************
- ATTACH
- ***************************************************
- Syntax
-
- ATTACH [servername[/username[;password]]]
-
- Description
-
- The ATTACH command sends the current username and
- password automatically to the specified file
- server if SSO is specified but a username and
- password is not. The attach is successful if user
- names and passwords are identical. To ensure that
- a user's passwords are the same, use the SYNC
- command.
-
- Example
-
- Suppose you want a user to attach to multiple file
- servers and his user names on each are identical.
- To have PROTEC send his username and password
- automatically to the specified file server, do
- the following
-
- SYNC ADMIN
- SSO ON
- ATTACH ADMIN
-
- ***************************************************
- IF...THEN...ELSE
- ***************************************************
- Syntax
-
- IF conditional(s) [AND|OR|NOR] conditional(s)
- THEN command ELSE command END
-
- Description
-
- If you set the conditional to ' <PROTEC> =
- "PROTEC" ', PROTEC's Login program knows this to
- be TRUE while NetWare's Login program would
- evaluate this statement to be FALSE. This allows
- you to configure a user's environment to be
- different when PROTEC NET is active.
-
- Example
-
- If some workstation's use NetWare tools and do not
- use PROTEC NET then you might want to change the
- login script as follows:
-
- IF <PROTEC> = "PROTEC" THEN
- REM These statements are specific to PROTEC's
- Login program
- SYNC TEST
- SSO ON
- ATTACH TEST
- SHELL SYS:PUBLIC\WINDOWS\WIN.COM
- END
-
-
-
- ***************************************************
- SHELL
- ***************************************************
- Syntax
-
- SHELL [path] filename.ext [parameter]
-
-
- Description
-
- This is the program that is executed upon login
- just like PROTEC NET's Login Shell. Filename.ext
- can be an executable or batch file. The SHELL
- command can either be used in the System or user
- login script. Replace parameters with any
- parameters that must accompany the executable
- file.
-
- SHELL replaces NetWare's EXIT command. The
- NetWare EXIT command may only support 14 character
- filenames while the SHELL command supports
- filenames up to 128 characters.
-
-
- NOTE If you edit a User Login Shell within the Security
- program, PROTEC NET will automatically modify the
- appropriate user login script.
-
- Examples
-
- You might want Bob to have a specific login
- script. You can modify his user login script to
- be the following:
-
- SHELL TEST/ SYS:/WINDOWS/WIN.COM
-
- ***************************************************
- SSO
- ***************************************************
- Syntax
-
- SSO [ON|OFF]
-
- Description
-
- SSO stands for Single Signon. If SSO is specified
- as ON or by itself, a username and password is
- automatically sent to the specified server when an
- ATTACH command is used without a username and
- password. Therefore, the ATTACH command does not
- have to be specified with the current username and
- password.
-
- Examples
-
- If you want all users to have a single signon to
- the file server TEST, you may change the system's
- login script as follows:
-
- SYNC TEST
- SSO
- ATTACH TEST
-
- ***************************************************
- STEP
- ***************************************************
- Syntax
-
- STEP [ON|OFF]
-
- Description
-
- STEP is a PROTEC NET command that makes the login
- script pause automatically after each login script
- command. This command can be used within the
- system and user login script. It is helpful when
- testing login scripts.
-
- Examples
-
- To test the system's login script, you make the
- following changes to the system's login script:
-
- STEP ON
- IF <PROTEC> = "PROTEC" THEN
- SYNC TEST
- SSO ON
- ATTACH TEST
- ELSE
- IF MEMBER OF "SALES" THEN
- ATTACH sales salesonly
- END
- END
-
- ***************************************************
- SYNC
- ***************************************************
- Syntax
-
- SYNC servername/[username]
-
- Description
-
- SYNC synchronizes passwords between file servers.
-
- Examples
-
- If you want David's password to be the same for
- file server's TEST and TECH, you may change his
- login script as follows:
-
- SYNC TECH
- SSO ON
- ATTACH TECH
-
-
-